package com.ss.spider.system.role.service;

import com.ss.exception.ServiceException;
import com.ss.service.CWService;

import java.util.List;

public interface RoleResourceService<RoleResource> extends CWService<RoleResource> {

    List<RoleResource> list(RoleResource paramRoleResource);

    int save(RoleResource paramRoleResource) throws ServiceException;

    int batchSave(List<RoleResource> paramList1, List<String> paramList2) throws ServiceException;

    int delete(RoleResource paramRoleResource) throws ServiceException;

    int delete(List<RoleResource> paramList) throws ServiceException;

    int delete(String paramString) throws ServiceException;

}
